<!DOCTYPE html>
<html xmlns="http://www.w3c.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:b="http://bootsfaces.net/ui"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
	
	<h:head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<h:outputScript library="js" name="funcoes.js" />
		<h:outputScript library="js" name="calendario.js" />
		<f:loadBundle basename="recursos.mensagens" var="msg" />
		<title>#{msg.label_titulo_sistema}</title>
	</h:head>

	<h:body>
		<h:outputStylesheet library="css" name="estilo.css"/>
		<b:container>
			<b:column styleClass="flutuante">
				<b:alert id="mensagens" closable="true" severity="#{requestScope.tipo_mensagem}" rendered="#{requestScope.tipo_mensagem != null}" title="#{requestScope.titulo_mensagem}">
					<h:messages layout="table" />
				</b:alert>
			</b:column>
			<p:ajaxStatus onstart="PF('statusDialog').show()" oncomplete="PF('statusDialog').hide()"/>
			<p:dialog widgetVar="statusDialog" modal="true" draggable="false" closable="false" resizable="false" showHeader="false">
				<p:graphicImage library="imagens" name="ajax-loader.gif"/>
			</p:dialog>
			<ui:insert name="menu"></ui:insert>
			<ui:insert name="conteudo"></ui:insert>
		</b:container>
	</h:body>
</html>
